package com.qfedu.service;

import com.qfedu.entity.TQuestion;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface QuestionService {
    /**
     * 资源库
     * @return
     */
    List<TQuestion> getAllQuestion();


    /**
     * 修改资源库数据
     * @param tQuestion
     * @return
     */
    int updateQuestion(TQuestion tQuestion);


    /**
     * 删除资源库数据
     * @param id
     * @return
     */
    int deleteQuestion(int id);
}
